/*******************************************************************************
* Project: QSAR(Cute Software Architecture) 
*
* Copyright: Copyright(C) 2024 by YuetingBen, All Rights Reserved
*
* File name: NvmRte.h
*
* Brief: ;
*
* Author: Yueting.Ben
*
* Module: Nvm
*
*******************************************************************************/

#ifndef NVMRTE_H
#define NVMRTE_H

/** HEADER FILES **/
#include "MemIf.h"

/** GLOBAL FUNCTION DECLARATION **/
extern Std_ReturnType MemIf_Read(
    uint16 DeviceIndex,
    uint16 BlockNumber,
    uint16 BlockOffset,
    uint8* DataBufferPtr,
    uint16 Length
);


extern Std_ReturnType MemIf_Write(
    uint16 DeviceIndex,
    uint16 BlockNumber,
    const uint8* DataBufferPtr
);

#endif
